package com.eudon.design_pattern.creational.abstract_factory.factory;

import com.eudon.design_pattern.creational.abstract_factory.Phone;
import com.eudon.design_pattern.creational.abstract_factory.memory.MiddleMemory;
import com.eudon.design_pattern.creational.abstract_factory.storage.MiddleStorage;

/**
 * @author eudon
 * @description 中配置手机工厂
 * @date 2025/9/1
 * @email syd19970616@gmail.com
 * @address <a href="https://gitee.com/eudon">Gitee</a>
 */
public class MiddlePhoneFactory implements Factory {
    @Override
    public Phone getPhone() {
        return new Phone(new MiddleStorage(),new MiddleMemory());
    }
}
